package com.huo.task.service;

import com.huo.filestransport.service.FtpService;
import org.quartz.DisallowConcurrentExecution;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

@DisallowConcurrentExecution
public class ClearFtpFileInfo{

	private final Logger logger = LoggerFactory.getLogger(getClass());
	@Autowired
	private FtpService transportService;

	public void execute(){
		logger.info("清理 t_ftpfileinfo表的JOB开始");
		transportService.clearFtpFileInfo();
		logger.info("清理 t_ftpfileinfo表的JOB结束");
	}

}
